{% extends 'index.html' %}

{% block body %}
<div class="container">
    <div class="row">

             <!--<div class="panel panel-default">-->
                <!--<div class="panel-heading">-->
                    <div class="col-sm-12 col-md-12">
                    <div class="col-xs-6 col-sm-6 col-md-6">
                        <a href="http://www.promogest.me"><img src="gui/testata_promogest2.png" alt="Logo PromoGest" width="250px" /></a>
                    </div>
                    <div class="col-xs-6 col-sm-6 col-md-6">
                        <h3><i class="glyphicon glyphicon-bullhorn"></i> News</h3>
                    </div>
                <!--</div>-->
                    </div>
                <div class="panel-body">
                    <div class="col-xs-12 col-sm-12 col-md-12">
                        <div class="list-group">
                            {% for a in environment.news %}
                                 <a href="http://www.promogest.me/promoGest/news_detail/{{a[1]}}" class="list-group-item">{{a[2]}} <b>{{a[0]}}</b> - clicks({{a[3]}})</a>
                            {% endfor %}
                        </div>
                    </div>
                </div>
             <!--</div>-->
        <!--</div>-->
    </div>
</div>
    {% endblock %}
